﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace SGIMail.Models
{
    public class Contact
    {
        public int ContactId { get; set; }
        public int? CompanyId { get; set; }
        public string Name { get; set; }
        public string Email { get; set; }
        public string Phone { get; set; }

        public virtual Company Company { get; set; }
        public virtual ICollection<UserContacts> UserContacts { get; set; }
        public virtual ICollection<EventDetails> EventDetails { get; set; }
    }
}
